import { axios } from '@/utils/request'

const root = '/admin/'

/**
  * 添加/编辑报名信息自定义表单查询
  */
export function activityRegisterFormItem(activityId, id) {
  return axios({
    url: root + `activityRegister/union/activityRegisterFormItem/${activityId}`,
    method: 'get',
    params: {
      id
    }
  })
}

/**
  * 自定义字段下拉列表
  */
export function activityFormItemList(activityId) {
  return axios({
    url: root + `activityRegister/union/getActivityFormItemList/${activityId}`,
    method: 'get',
  })
}
